package com.linwen.excise.leetcode;

/**
 * @ClassName _2469温度转换
 * @Description TODO
 * @Author zero
 * @DATE 2024/9/22 1:22 AM
 * @Version 1.0
 */
public class _2469温度转换 {
    public static void main(String[] args) {
        _2469温度转换 inst = new _2469温度转换();
        double[] converted = inst.convertTemperature(36.0);
        System.out.println(converted[0]);
        System.out.println(converted[1]);
    }
    public double[] convertTemperature(double celsius) {
        double[] result = new double[2];
        result[0] = celsius + 273.15;
        result[1] = celsius * 1.80 + 32.00;
        return result;
    }
}
